import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);

export default new Vuex.Store({
	state: {
		language: 0
	},
	getters: {
		getLanguage(state) {
			return state.language
		}
	},
	mutations: {
		setLanguage(state, val) {
			state.language = val;
		}
	},
	actions: {},
	modules: {}
})
